package test;

import observer.Subject;

public class  testSubject extends Subject{

  private int value = 0;
  
  public testSubject() {
    super();
  }
  
  public void setValue(int value){
    this.value = value;
    this.notifyObserver();
  }
  
  public int getValue(){
    return value;
  }
}